/**
 * 
 */
package coop.tecso.test.objets;

import javax.persistence.Column;
import javax.validation.constraints.Digits;


/**
 * @author dicardo
 *
 */
public class SimpleAnnotatedObjectWithContradictoryRestrictions extends SimpleAnnotatedObject {

	@Digits(integer = 10, fraction = 0)
	@Column(length = 9)
	private String contradictory;

	/**
	 * @param digitable
	 * @param columnable
	 */
	public SimpleAnnotatedObjectWithContradictoryRestrictions(String digitable, String columnable) {
		super(digitable, columnable);
	}

	/**
	 * @return the contradictory
	 */
	public String getContradictory() {
		return contradictory;
	}

	/**
	 * @param contradictory
	 *            the contradictory to set
	 */
	public void setContradictory(String contradictory) {
		this.contradictory = contradictory;
	}

}
